//
//  JJEmojiUtil.swift
//  swiftProject
//
//  Created by yangjian on 2021/12/27.
//

import UIKit

class JJEmojiUtil: NSObject {
    
    static func emojiNameToData(name : String) -> Data {
        do {
            let data = try Data.init(contentsOf: URL.init(fileURLWithPath: Bundle.main.resourcePath! + "/" + name))
            return data
        } catch {
        }
        return Data.init()
    }

}
